<div class="panel_izquierdo">
    <h3><?php __('Opciones'); ?></h3>
    <ul>

        <li><?php echo $this->Html->link(__('Eliminar', true), array('action' => 'delete', $this->Form->value('User.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('User.id'))); ?></li>
        <li><?php echo $this->Html->link(__('Cambiar contraseña', true), array('action' => 'edit_password_admin', $this->Form->value('User.id')));?></li>
        <li><?php echo $this->Html->link(__('Mostrar Todos', true), array('action' => 'index'));?></li>
    </ul>
</div>

<div class="contenido">
    <?php echo $this->Form->create('User');?>
    <fieldset>
        <legend><?php __('Modificar usuario'); ?></legend>
        <?php
        echo $this->Form->input('id');
        echo $this->Form->input('username',array('disabled'=>'true'));
        echo $this->Form->input('nombre_completo');
        echo $this->Form->input('cargo');
        echo $this->Form->input('group_id',array('label'=>'Nivel de acceso'));
        ?>
    </fieldset>
    <?php echo $this->Form->end(__('Guardar', true));?>
</div>
